package com.wetool.wechat.model.official.menu;

/**
 * 子按钮
 */
public class SubMenuButton extends AbstractMenuButton {

    public SubMenuButton(ButtonType type, String name, String url) {
        super(type, name);
        this.url = url;
    }

    public SubMenuButton(ButtonType type, ButtonKey key, String name, String url) {
        this(type, name, url);
        this.key = key.name();
    }
}
